local opts = {
    settings = {
        yaml = {
            format = {
                enable = true,
            },
            schemas = {
                ["https://raw.githubusercontent.com/quantumblacklabs/kedro/develop/static/jsonschema/kedro-catalog-0.17.json"] = "conf/**/*catalog*",
                ["https://json.schemastore.org/github-workflow.json"] = "/.github/workflows/*",
            },
        },
    },
}

return {
    on_setup = function(server, default_opts)
        opts = vim.tbl_extend("keep", opts, default_opts)
        server.setup(opts)
    end,
}
